package edu.sctu.zcy.month201505.day20150510;

/**
 * Created by user24 on 2015/5/10.
 */
public class ThreadDemo1 {

    public static void main(String[] args) {

        ThreadDemo threadDemo1 = new ThreadDemo();
        threadDemo1.getNameOne("线程1");


        ThreadDemo threadDemo2 = new ThreadDemo();
        threadDemo2.getNameOne("线程2");

        threadDemo1.start();
        threadDemo2.start();



    }
}
